package com.hlkj.warboot.module_wx.configurer.event;

import com.hlkj.warboot.module_wx.entity.HkSeckillEntity;
import org.springframework.context.ApplicationEvent;

/**
 * @Description: 号卡秒杀事件
 * @Author: lixing
 * @Date: 2020/4/26 21:18
 */
public class HkSeckillEvent extends ApplicationEvent {
    private HkSeckillEntity hkSeckillEntity;

    public HkSeckillEntity getHkSeckillEntity() {
        return hkSeckillEntity;
    }

    public HkSeckillEvent(Object source, HkSeckillEntity hkSeckillEntity) {
        super(source);
        this.hkSeckillEntity = hkSeckillEntity;
    }
}
